import Vue from 'vue'
import VueRouter from 'vue-router'

import LogIn from '../view/login'
import SignIn from '../view/signin'
import Essay from '../view/essay'
import Lists from '../view/lists'
Vue.use(VueRouter)
// logIn
// signIn
// essay
// lists
const router = new VueRouter({
  routes: [
    {
      path: '/login',
      component: LogIn,
    },
    {
      path: '/signin',
      component: SignIn,
    },
    {
      path: '/essay',
      component: Essay,
    },
    {
      path: '/lists',
      component: Lists,
    },
  ],
})

export default router
